<?php


namespace App\Http\Controllers\User;


use App\Http\Controllers\Controller;
use App\Models\AccountFund;
use Illuminate\Http\Request;

class AccountFundController extends Controller
{
    public function index(Request $request)
    {
        $data = AccountFund::where('user_id', $request->user()->id)->orderBy('id', 'desc')->paginate();
        return $this->response($data);
    }

}
